The Dreamweaver JavaScript API > Toggle functions > dom.getSnapToGrid()

 

dom.getSnapToGrid()

Availability

Dreamweaver 3.0

Description

Gets the current state of the View > Grid > Snap To option.

Arguments

None.

Returns

A Boolean value indicating whether grid snapping is on (true) or off (false).

Enabler

None.